package hotel.switchs.oversea.api.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "推送价格记录表")
public class SwitchPushRoomDataAllEntity implements Serializable {
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("母酒店id")
    private Integer masterHotelId;

    @ApiModelProperty("子酒店id")
    private Integer hotelId;

    @ApiModelProperty("售卖房型id")
    private Integer roomId;

    @ApiModelProperty("美团的酒店id")
    private Integer mtHotelId;

    @ApiModelProperty("美团的房型id")
    private Integer mtRoomId;

    @ApiModelProperty("美团的产品id")
    private Integer mtGoodId;

    @ApiModelProperty("携程的价格")
    private Double price;

    @ApiModelProperty("携程的展示价格")
    private Double priceRate;

    @ApiModelProperty("美团的产品价格")
    private Double mtPrice;

    @ApiModelProperty("美团的产品佣金价格")
    private Double mtSubPrice;

    @ApiModelProperty("状态 0 未上架 1上架")
    private int status;

    @ApiModelProperty("售卖房型在售状态 0 未上架 1上架")
    private int sale;

    @ApiModelProperty("当次推送唯一key")
    private String logKey;

    @ApiModelProperty("创建时间")
    private Date createTime=new Date();

    @ApiModelProperty("更新时间")
    private Date modifyTime=new Date();

    @ApiModelProperty("售卖起始日期")
    private String startTime;

    @ApiModelProperty("售卖结束时间")
    private String endTime;

    @ApiModelProperty("携程比美团多加的价格(针对价格配置genre类型=1)")
    private Double AddPrice;

    @ApiModelProperty("携程按照比例在美团的价格加的比例(针对价格配置genre类型=0)")
    private Double rate;

    @ApiModelProperty("房型推送数据实体数据")
    private String formData;

    @ApiModelProperty("备注")
    private String remark="";

    private static final long serialVersionUID = 1L;



}
